﻿// -----------------------------------------------------------------------
// <copyright file="ResourceUse_BLL.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace PMSGSC.BLL
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using PMSGSC.DAL;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public class ResourceUse_BLL
    {

        public static List<ResourceUse> GetAll()
        {
            return ResourceUse_DAL.GetAll();
        }
        public static bool Insert(ResourceUse ResourceUse)
        {
            return ResourceUse_DAL.Insert(ResourceUse);
        }
        public static bool Update(ResourceUse ResourceUse)
        {
            return ResourceUse_DAL.Update(ResourceUse);
        }
        public static bool Delete(ResourceUse ResourceUse)
        {
            return ResourceUse_DAL.Delete(ResourceUse);
        }
        public static List<ResourceUse> GetDataByWorkOrderID(int id, bool ischanged)
        {
            return ResourceUse_DAL.GetDataByWorkOrderID(id, ischanged);
        }
        public static bool isExits(ResourceUse jp)
        {
            return ResourceUse_DAL.isExits(jp);
        }
        public static bool DeleteByID(ResourceUse jp)
        {
            return ResourceUse_DAL.DeleteByID(jp);
        }
    }
}
